Tag Link | [RegExp->FindPattern] | Category | String |
---|---|---|---|
Type | Member | Source Available | Yes |
Support | Preferred | Version | 8.5 |
Change | New | Data Source | Any |
Output Type | String | Security | None |
Implementation | Sets | Lasso 8.5 |
[RegExp->FindPattern] returns the stored find pattern. If called with a parameter then that value is compiled and stored as the new find pattern. The find pattern can be set with this tag, when the regular expression object is created with [RegExp], or when calling the [RegExp->ReplaceAll], [RegExp->ReplaceFirst], or [RegExp->Split] tags.
[Var: 'myRegExp' = (RegExp:
[$myRegexp->FindPattern]
[$myRegexp->GroupCount]
[$myRegexp->ReplacePattern]
[$myRegexp->Input]
[$myRegexp->IgnoreCase]
Optional Parameters | |
---|---|
Find Pattern | Sets the find pattern to the specified regular expression. |
See the Lasso 8 Language Guide for examples of how to use this tag.